package com.ss.android.lockscreen.d.b;

import android.content.Context;
import android.content.SharedPreferences;
import android.content.SharedPreferences;

public final class a {
    public SharedPreferences a;

    public a(Context arg2, String arg3) {

        this.a = null;
        this.a = arg2.getSharedPreferences(arg3, 4);
    }

    public final void a(String arg3, long arg4) {
        SharedPreferences.Editor v0 = this.a.edit();
        v0.putLong(arg3, arg4);
        v0.apply();
    }

    public final int a(String arg3) {
        return this.a.getInt(arg3, 0);
    }

    public final void a(String arg2, boolean arg3) {
        SharedPreferences.Editor v0 = this.a.edit();
        v0.putBoolean(arg2, arg3);
        v0.apply();
    }

    public final boolean a(String arg3, Boolean arg4) {
        return this.a.getBoolean(arg3, arg4.booleanValue());
    }

    public final long b(String arg3, long arg4) {
        return this.a.getLong(arg3, arg4);
    }
}

